<!DOCTYPE html><html lang="zh-CN"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小区速购通 - 小区电商平台</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://code.iconify.design/iconify-icon/1.0.8/iconify-icon.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3/dist/echarts.min.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&amp;display=swap" rel="stylesheet">
    <style>
        :root {
            --primary: #10b981;
            --secondary: #f97316;
            --gray-light: #f3f4f6;
            --gray-text: #9ca3af;
            --danger: #ef4444;
            --info: #3b82f6;
        }
        
        * {
            font-family: 'Noto Sans SC', sans-serif;
        }
        
        body {
            background-color: #e5e7eb;
            display: flex;
            justify-content: center;
            padding: 2rem 0;
        }
        
        .container {
            width: 1440px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        
        .section {
            padding: 3rem 2.5rem;
        }
        
        .text-secondary {
            color: var(--gray-text);
            font-size: 0.875rem;
        }
        
        .card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: transform 0.2s;
        }
        
        .card:hover {
            transform: translateY(-5px);
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .btn-primary:hover {
            background-color: #059669;
            transform: scale(1.02);
        }
        
        .btn-secondary {
            background-color: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .btn-secondary:hover {
            background-color: #f0fdf4;
        }
        
        .category-badge {
            background-color: var(--gray-light);
            border-radius: 20px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .category-badge:hover {
            background-color: #e5ffe5;
            color: var(--primary);
        }
        
        .input-field {
            border: 1px solid #d1d5db;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            transition: all 0.2s;
        }
        
        .input-field:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
        }
        
        .progress-bar {
            height: 12px;
            border-radius: 6px;
            background-color: var(--gray-light);
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background-color: var(--info);
            border-radius: 6px;
            width: 60%;
        }
        
        .cart-popup {
            position: fixed;
            top: 100px;
            right: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            width: 400px;
            z-index: 100;
            transform: translateX(120%);
            transition: transform 0.3s ease;
            padding: 1.5rem;
        }
        
        .cart-popup.active {
            transform: translateX(0);
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 顶部导航 -->
        <header class="sticky top-0 z-50 bg-white border-b border-gray-100 py-4 px-8">
            <div class="flex justify-between items-center">
                <div class="flex items-center">
                    <iconify-icon icon="ion:storefront" class="text-3xl text-green-500 mr-2"></iconify-icon>
                    <span class="text-2xl font-bold text-gray-800">小区AI购</span>
                </div>
                
                <div class="flex-1 mx-10 relative">
                    <div class="flex items-center">
                        <input type="text" placeholder="搜索小区商品..." class="input-field w-full py-2">
                        <button class="btn-primary ml-2 py-2 px-4">搜索</button>
                    </div>
                </div>
                
                <div class="flex gap-6 items-center">
                    <a href="#" class="text-gray-600 hover:text-green-500 font-medium">登录/注册</a>
                    <button class="btn-secondary">
                        <iconify-icon icon="mdi:store" class="mr-1"></iconify-icon>
                        我的店铺
                    </button>
                </div>
            </div>
        </header>
        
        <!-- 商品瀑布流 -->
        <section class="section py-8">
            <h2 class="text-3xl font-bold text-gray-800 mb-8">热销商品</h2>
            
            <div class="grid grid-cols-4 gap-8">
                <!-- 商品卡片1 -->
                <div class="card overflow-hidden">
                    <img id="1" src="https://modao.cc/ai/uploads/ai_pics/10/102073/aigp_1754518088.jpeg" alt="Croissant and coffee breakfast set" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">7号楼自制早餐套餐</h3>
                            <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded">热销中</span>
                        </div>
                        <p class="text-secondary mb-4">含现烤牛角包+咖啡，10点前下单</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥16.8</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片2 -->
                <div class="card overflow-hidden">
                    <img id="2" src="https://modao.cc/ai/uploads/ai_pics/10/102074/aigp_1754518091.jpeg" alt="LEGO star wars set" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">乐高星球大战套装</h3>
                            <span class="bg-orange-100 text-orange-600 text-xs px-2 py-1 rounded">9成新</span>
                        </div>
                        <p class="text-secondary mb-4">完整未开封，适合10岁以上儿童</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥320</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片3 -->
                <div class="card overflow-hidden">
                    <img id="3" src="https://modao.cc/ai/uploads/ai_pics/10/102075/aigp_1754518093.jpeg" alt="Assorted bread" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">3号楼手工烘焙面包</h3>
                            <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded">现烤</span>
                        </div>
                        <p class="text-secondary mb-4">全麦面包+高纤贝果+葡萄干吐司</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥48</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片4 -->
                <div class="card overflow-hidden">
                    <img id="4" src="https://modao.cc/ai/uploads/ai_pics/10/102076/aigp_1754518095.jpeg" alt="Books" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">亲子绘本套装(10册)</h3>
                            <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">二手</span>
                        </div>
                        <p class="text-secondary mb-4">经典儿童读物，品相完好无缺页</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥35</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片5 -->
                <div class="card overflow-hidden">
                    <img id="5" src="https://modao.cc/ai/uploads/ai_pics/10/102077/aigp_1754518097.jpeg" alt="House plant" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">绿萝盆栽(含花盆)</h3>
                            <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded">热销中</span>
                        </div>
                        <p class="text-secondary mb-4">9号楼园艺居民供应，净化空气首选</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥22</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片6 -->
                <div class="card overflow-hidden">
                    <img id="6" src="https://modao.cc/ai/uploads/ai_pics/10/102078/aigp_1754518099.jpeg" alt="Designer chair" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">北欧风单人沙发椅</h3>
                            <span class="bg-orange-100 text-orange-600 text-xs px-2 py-1 rounded">9成新</span>
                        </div>
                        <p class="text-secondary mb-4">宜家原款，使用不到一年</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥180</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片7 -->
                <div class="card overflow-hidden">
                    <img id="7" src="https://modao.cc/ai/uploads/ai_pics/10/102079/aigp_1754518101.jpeg" alt="Smart watch" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">小米手环8</h3>
                            <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">全新</span>
                        </div>
                        <p class="text-secondary mb-4">生日礼物多出一个，未拆封</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥199</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
                
                <!-- 商品卡片8 -->
                <div class="card overflow-hidden">
                    <img id="8" src="https://modao.cc/ai/uploads/ai_pics/10/102080/aigp_1754518103.jpeg" alt="Coffee cup" class="w-full h-48 object-cover">
                    <div class="p-4">
                        <div class="flex justify-between mb-2">
                            <h3 class="font-bold text-gray-800 text-lg">咖啡体验套餐</h3>
                            <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded">手工制作</span>
                        </div>
                        <p class="text-secondary mb-4">咖啡豆+手冲设备体验，含教学</p>
                        <div class="flex justify-between items-center">
                            <span class="font-bold text-xl text-green-600">¥88</span>
                            <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 商品分类（Tab形式） -->
        <section class="section bg-gray-50">
            <div class="mb-10">
                <h2 class="text-3xl font-bold text-gray-800 mb-4">商品分类</h2>
                <p class="text-gray-600 max-w-3xl">轻松发现您需要的商品，邻居们随时在线提供优质产品</p>
            </div>
            <!-- Tab导航 -->
            <div id="categoryTabs" class="flex gap-4 mb-8">
                <button class="category-badge active" data-tab="tab-1"><iconify-icon icon="ion:fast-food" class="text-xl"></iconify-icon>早餐早点</button>
                <button class="category-badge" data-tab="tab-2"><iconify-icon icon="mdi:sofa" class="text-xl"></iconify-icon>日用家居</button>
                <button class="category-badge" data-tab="tab-3"><iconify-icon icon="mdi:toy-brick" class="text-xl"></iconify-icon>二手玩具</button>
                <button class="category-badge" data-tab="tab-4"><iconify-icon icon="ph:books-bold" class="text-xl"></iconify-icon>书籍文具</button>
                <button class="category-badge" data-tab="tab-5"><iconify-icon icon="mingcute:plant-fill" class="text-xl"></iconify-icon>花卉绿植</button>
            </div>
            <!-- Tab内容 -->
            <div id="tab-1" class="tab-content">
                <div class="grid grid-cols-4 gap-8">
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102073/aigp_1754518088.jpeg" alt="Croissant and coffee breakfast set" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">7号楼自制早餐套餐</h3>
                                <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded">热销中</span>
                            </div>
                            <p class="text-secondary mb-4">含现烤牛角包+咖啡，10点前下单</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥16.8</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102080/aigp_1754518103.jpeg" alt="Coffee cup" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">咖啡体验套餐</h3>
                                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded">手工制作</span>
                            </div>
                            <p class="text-secondary mb-4">咖啡豆+手冲设备体验，含教学</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥88</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102075/aigp_1754518093.jpeg" alt="Assorted bread" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">3号楼手工烘焙面包</h3>
                                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded">现烤</span>
                            </div>
                            <p class="text-secondary mb-4">全麦面包+高纤贝果+葡萄干吐司</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥48</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="tab-2" class="tab-content hidden">
                <div class="grid grid-cols-4 gap-8">
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102078/aigp_1754518099.jpeg" alt="Designer chair" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">北欧风单人沙发椅</h3>
                                <span class="bg-orange-100 text-orange-600 text-xs px-2 py-1 rounded">9成新</span>
                            </div>
                            <p class="text-secondary mb-4">宜家原款，使用不到一年</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥180</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102077/aigp_1754518097.jpeg" alt="House plant" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">绿萝盆栽(含花盆)</h3>
                                <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded">热销中</span>
                            </div>
                            <p class="text-secondary mb-4">9号楼园艺居民供应，净化空气首选</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥22</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="tab-3" class="tab-content hidden">
                <div class="grid grid-cols-4 gap-8">
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102074/aigp_1754518091.jpeg" alt="LEGO star wars set" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">乐高星球大战套装</h3>
                                <span class="bg-orange-100 text-orange-600 text-xs px-2 py-1 rounded">9成新</span>
                            </div>
                            <p class="text-secondary mb-4">完整未开封，适合10岁以上儿童</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥320</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="tab-4" class="tab-content hidden">
                <div class="grid grid-cols-4 gap-8">
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102076/aigp_1754518095.jpeg" alt="Books" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">亲子绘本套装(10册)</h3>
                                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">二手</span>
                            </div>
                            <p class="text-secondary mb-4">经典儿童读物，品相完好无缺页</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥35</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="tab-5" class="tab-content hidden">
                <div class="grid grid-cols-4 gap-8">
                    <div class="card overflow-hidden">
                        <img src="https://modao.cc/ai/uploads/ai_pics/10/102077/aigp_1754518097.jpeg" alt="House plant" class="w-full h-48 object-cover">
                        <div class="p-4">
                            <div class="flex justify-between mb-2">
                                <h3 class="font-bold text-gray-800 text-lg">绿萝盆栽(含花盆)</h3>
                                <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded">热销中</span>
                            </div>
                            <p class="text-secondary mb-4">9号楼园艺居民供应，净化空气首选</p>
                            <div class="flex justify-between items-center">
                                <span class="font-bold text-xl text-green-600">¥22</span>
                                <button class="btn-primary text-sm px-3 py-1">立即购买</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <script>
        // 商品分类Tab切换
        document.addEventListener('DOMContentLoaded', function() {
            const tabs = document.querySelectorAll('#categoryTabs button');
            const contents = document.querySelectorAll('.tab-content');
            tabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    tabs.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                    const target = this.getAttribute('data-tab');
                    contents.forEach(c => c.classList.add('hidden'));
                    document.getElementById(target).classList.remove('hidden');
                });
            });
        });
        </script>
        
        <!-- 店铺入驻入口 -->
        <!-- <section class="section bg-gradient-to-r from-green-50 to-amber-50 py-16">
            <div class="flex justify-between items-center">
                <div class="max-w-2xl">
                    <h2 class="text-4xl font-bold text-gray-800 mb-4">成为小区卖家</h2>
                    <p class="text-gray-600 mb-6 text-lg">
                        将您的技能和商品分享给邻居，共享小区经济。每月2000+活跃买家，无需押金，收益即时到账。
                    </p>
                    <ul class="space-y-2 mb-8 text-gray-600">
                        <li class="flex items-center">
                            <iconify-icon icon="mdi:check-circle" class="text-green-500 text-xl mr-2"></iconify-icon>
                            零门槛开店，3分钟快速入驻
                        </li>
                        <li class="flex items-center">
                            <iconify-icon icon="mdi:check-circle" class="text-green-500 text-xl mr-2"></iconify-icon>
                            免费使用小区物流无人机配送
                        </li>
                        <li class="flex items-center">
                            <iconify-icon icon="mdi:check-circle" class="text-green-500 text-xl mr-2"></iconify-icon>
                            支付安全有保障，平台提供担保
                        </li>
                    </ul>
                    <button class="bg-gradient-to-r from-green-500 to-teal-500 text-white font-bold py-3 px-8 rounded-lg text-lg hover:shadow-lg transition">
                        立即注册成为卖家
                    </button>
                </div>
                <div class="flex">
                    <div class="bg-gray-200 border-2 border-dashed rounded-xl w-96 h-80 flex items-center justify-center">
                        <iconify-icon icon="material-symbols:store" class="text-5xl text-gray-400"></iconify-icon>
                    </div>
                </div>
            </div>
        </section> -->
        
        <!-- 物流展示区 -->
        <!-- <section class="section py-12">
            <div class="grid grid-cols-2 gap-12">
                <div>
                    <h2 class="text-3xl font-bold text-gray-800 mb-4">无人机配送服务</h2>
                    <p class="text-gray-600 mb-6">
                        我们为小区配备了先进的无人机配送系统，确保您的订单在<span class="font-bold text-green-500">30分钟</span>内安全送达。
                    </p>
                    
                    <div class="mb-8">
                        <div class="flex justify-between mb-1">
                            <span class="font-medium">当前配送进度</span>
                            <span class="font-bold text-info">7号楼→8号楼</span>
                        </div>
                        <div class="progress-bar">
                            <div class="progress-fill"></div>
                        </div>
                        <div class="mt-2 text-sm text-gray-500">
                            预计3:45送达
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-2 gap-4">
                        <div class="card p-4">
                            <div class="flex items-center">
                                <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                                    <iconify-icon icon="ph:clock-fill" class="text-blue-500 text-2xl"></iconify-icon>
                                </div>
                                <div>
                                    <div class="font-bold">极速送达</div>
                                    <div class="text-sm text-gray-500">平均仅需28分钟</div>
                                </div>
                            </div>
                        </div>
                        <div class="card p-4">
                            <div class="flex items-center">
                                <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-3">
                                    <iconify-icon icon="mdi:drone" class="text-green-500 text-2xl"></iconify-icon>
                                </div>
                                <div>
                                    <div class="font-bold">24小时服务</div>
                                    <div class="text-sm text-gray-500">随时响应需求</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div>
                    <div class="bg-gray-200 border-2 border-dashed rounded-xl w-full h-96" id="map-container"></div>
                    <div class="mt-4 flex justify-between">
                        <div class="flex items-center text-gray-600">
                            <div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
                            <span>起点 (取货点)</span>
                        </div>
                        <div class="flex items-center text-gray-600">
                            <div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div>
                            <span>终点 (收货点)</span>
                        </div>
                        <div class="flex items-center text-gray-600">
                            <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
                            <span>配送航线</span>
                        </div>
                    </div>
                </div>
            </div>
        </section> -->
        
        <!-- 页脚 -->
        <footer class="section bg-gray-50 py-8 text-gray-600">
            <div class="grid grid-cols-4 gap-4">
                <div>
                    <h3 class="font-bold text-gray-800 mb-4 text-lg">关于我们</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="hover:text-green-500">平台简介</a></li>
                        <li><a href="#" class="hover:text-green-500">加入我们</a></li>
                        <li><a href="#" class="hover:text-green-500">联系我们</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="font-bold text-gray-800 mb-4 text-lg">服务支持</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="hover:text-green-500">购物指南</a></li>
                        <li><a href="#" class="hover:text-green-500">物流配送</a></li>
                        <li><a href="#" class="hover:text-green-500">支付方式</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="font-bold text-gray-800 mb-4 text-lg">卖家服务</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="hover:text-green-500">开店流程</a></li>
                        <li><a href="#" class="hover:text-green-500">配送合作</a></li>
                        <li><a href="#" class="hover:text-green-500">商家后台</a></li>
                    </ul>
                </div>
                <div>
                    <div class="mb-4 flex items-center">
                        <iconify-icon icon="ion:storefront" class="text-3xl text-green-500 mr-2"></iconify-icon>
                        <span class="text-2xl font-bold text-gray-800">小区AI购</span>
                    </div>
                    <p>让邻里交易更简单，让小区生活更温暖</p>
                </div>
            </div>
            <div class="border-t pt-4 mt-8 text-center text-gray-500">
                © 2025 社区e邻电商平台 版权所有
            </div>
        </footer>
    </div>
    
    <!-- 购物车 -->
    <div class="cart-popup" id="cartPopup">
        <div class="flex justify-between items-center mb-4">
            <h3 class="font-bold text-xl">我的购物车</h3>
            <button onclick="closeCart()" class="text-gray-400 hover:text-gray-600">
                <iconify-icon icon="mdi:close" class="text-xl"></iconify-icon>
            </button>
        </div>
        
        <div class="space-y-4 max-h-80 overflow-y-auto mb-6">
            <!-- 商品1 -->
            <div class="flex items-center py-3 border-b border-gray-100">
                <div class="bg-gray-100 w-16 h-16 rounded-lg mr-4"></div>
                <div class="flex-1">
                    <h4 class="font-medium">7号楼早餐套餐</h4>
                    <p class="text-sm text-gray-500">牛角包+咖啡</p>
                    <div class="flex justify-between mt-1">
                        <div class="flex items-center">
                            <button class="w-6 h-6 rounded-full border text-gray-500 flex items-center justify-center">-</button>
                            <span class="mx-2">1</span>
                            <button class="w-6 h-6 rounded-full border text-gray-500 flex items-center justify-center">+</button>
                        </div>
                        <span class="font-bold">¥16.8</span>
                    </div>
                </div>
            </div>
            
            <!-- 商品2 -->
            <div class="flex items-center py-3 border-b border-gray-100">
                <div class="bg-gray-100 w-16 h-16 rounded-lg mr-4"></div>
                <div class="flex-1">
                    <h4 class="font-medium">手冲咖啡体验</h4>
                    <p class="text-sm text-gray-500">含精品咖啡豆</p>
                    <div class="flex justify-between mt-1">
                        <div class="flex items-center">
                            <button class="w-6 h-6 rounded-full border text-gray-500 flex items-center justify-center">-</button>
                            <span class="mx-2">1</span>
                            <button class="w-6 h-6 rounded-full border text-gray-500 flex items-center justify-center">+</button>
                        </div>
                        <span class="font-bold">¥88</span>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="border-t pt-4">
            <div class="flex justify-between mb-4 font-medium">
                <span>商品合计</span>
                <span>¥104.8</span>
            </div>
            <button class="btn-primary w-full py-3 font-bold text-lg">去支付</button>
        </div>
    </div>
    
    <!-- 购物车按钮 -->
    <div class="fixed right-8 bottom-8 w-16 h-16 bg-green-500 rounded-full flex items-center justify-center text-white shadow-lg cursor-pointer hover:bg-green-600" onclick="openCart()">
        <div class="absolute -top-2 -right-2 w-6 h-6 bg-red-500 rounded-full text-white flex items-center justify-center text-xs">3</div>
        <iconify-icon icon="mdi:cart" class="text-3xl"></iconify-icon>
    </div>
    
    <script>
        // 初始化地图
        const mapChart = echarts.init(document.getElementById('map-container'));
        
        // 模拟小区地图坐标数据
        const zones = [
            {name: '入口大门', value: [0, 50]},
            {name: '1号楼', value: [40, 80]},
            {name: '2号楼', value: [70, 30]},
            {name: '3号楼', value: [30, 20]},
            {name: '4号楼', value: [60, 70]},
            {name: '5号楼', value: [10, 60]},
            {name: '6号楼', value: [80, 40]},
            {name: '7号楼', value: [20, 90]},
            {name: '8号楼', value: [90, 60]},
            {name: '9号楼', value: [50, 10]},
            {name: '配送中心', value: [50, 50]}
        ];
        
        const flightPath = [
            {coords: [[50, 50], [20, 90]],
            lineStyle: {color: '#fbbf24', width: 2, curveness: 0.2}
        }];
        
        const option = {
            backgroundColor: '#f9fafb',
            grid: {top: 20, right: 20, bottom: 20, left: 20},
            xAxis: {show: false, min:0, max:100},
            yAxis: {show: false, min:0, max:100},
            series: [
                {
                    type: 'graph',
                    coordinateSystem: 'cartesian2d',
                    symbolSize: 12,
                    label: {
                        show: true,
                        position: 'bottom',
                        formatter: '{b}',
                        fontSize: 10
                    },
                    itemStyle: {
                        color: function(params) {
                            return params.dataIndex === 7 ? '#10b981' : 
                                   params.dataIndex === 8 ? '#3b82f6' : 
                                   '#9ca3af';
                        }
                    },
                    data: zones
                },
                {
                    type: 'lines',
                    coordinateSystem: 'cartesian2d',
                    polyline: true,
                    lineStyle: {
                        width: 2,
                        color: '#fbbf24',
                        curveness: 0.2
                    },
                    effect: {
                        show: true,
                        period: 3,
                        trailLength: 0.4,
                        symbol: 'arrow',
                        symbolSize: 8,
                        color: '#f59e0b'
                    },
                    data: flightPath
                }
            ]
        };
        
        mapChart.setOption(option);
        
        // 购物车交互
        function openCart() {
            document.getElementById('cartPopup').classList.add('active');
        }
        
        function closeCart() {
            document.getElementById('cartPopup').classList.remove('active');
        }
        
        // 调整图表大小
        window.addEventListener('resize', function() {
            mapChart.resize();
        });
    </script>

</body></html>